package com.bub.pay.core.entity.vo.user;

import com.alibaba.fastjson.JSON;
import com.bub.pay.framework.common.base.BaseVo;

import java.util.List;

/**
 * 管理员表
 * 添加员工
 */
public class AddSysUserVo extends BaseVo {
    private String userName; //账号
    private String password; //密码
    private String realName;//名字
    private String nickName; //昵称
    private String email;//电子邮件
    private String phone; //电话
    private Integer state; //用户状态 状态(1：启用  2：停用 ）
    private List<Long> roleList;
    private Long extendId;
    private int userType;
    private Long createId;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public List<Long> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Long> roleList) {
        this.roleList = roleList;
    }

    public Long getExtendId() {
        return extendId;
    }

    public void setExtendId(Long extendId) {
        this.extendId = extendId;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public Long getCreateId() {
        return createId;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
